package com.purang.pms.aroutertest;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.launcher.ARouter;
import com.purang.pms.aroutertest.map.MapServiceImpl;

public class MainActivity extends AppCompatActivity  {

    private static final String TAG = MainActivity.class.getSimpleName();

    @Autowired
    MapServiceImpl mMapServiceImpl;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void skip2Common(View view) {
        ARouter.getInstance().build("/com/main/activity").navigation();
    }

    public void skip2Test(View view) {
        startActivity(new Intent(this, MapTestActivity.class));
    }
}
